<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<form id='fmTbCreditRating'  action='TbCreditRatingServlet' method='post'>
 <input type="hidden" name="method" id="method" value="${sessionScope.tbCreditRating.creditRatingId==null?'add':'edit'}" />
<input type='hidden' name='creditRatingId' id='creditRatingId' value='${sessionScope.tbCreditRating.creditRatingId }' />
<table>
<tr><td colspan='2'></td></tr>
<tr>
    <td>评级类型</td>
    <td>
    <select name='creditRatingTypeId' id='creditRatingTypeId' >
		<option value="-1">无</option>
	<c:forEach items="${sessionScope.tbCreditRatingTypeList==null?'':sessionScope.tbCreditRatingTypeList}" var="tbCreditRatingType" varStatus="status">
		<option value="${tbCreditRatingType.creditRatingTypeId }" ${sessionScope.tbCreditRating.creditRatingTypeId == tbCreditRatingType.creditRatingTypeId?'selected':''}>${tbCreditRatingType.creditRatingTypeName}</option>
	</c:forEach>
</select>
   </td>
</tr>
<tr>
    <td>评级分数</td>
    <td><input type='text' name='creditRatingScore' id='creditRatingScore' value='${sessionScope.tbCreditRating.creditRatingScore }' /></td>
</tr>
<tr>
    <td  colspan='2' align="center"><input type="submit" name="btsubmit" id="btsubmit" value="${sessionScope.tbCreditRating.creditRatingId==null?'添加':'修改'}" /><input type='reset' value='重置' /><input type='button' value='返回' onclick='history.go(-1);' /></td>
</tr></table>
</form><jsp:include page="../foot.jsp"></jsp:include>
</body>
</html>